package com.bonc.ioc.demo.event;

import org.springframework.context.ApplicationEvent;

import java.util.List;
import java.util.Map;

public class HybridEvent extends ApplicationEvent {
    private Long userId;
    public  HybridEvent(Object source,Long userId) {
        super(source);
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
}
